{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    首页
    <span class="c-gray en">&gt;</span>
    彩种管理
    <span class="c-gray en">&gt;</span>
    彩种统计
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
   <form action="" method="post" enctype="application/x-www-form-urlencoded">
      
    &nbsp;&nbsp;&nbsp;&nbsp;彩种选择： <select name="czlisu" id="czlisu" class="input-text" style="width:120px;margin-top:18px;">
           {volist name="czlisu" id="item"}
           <option value='{$item.id}' {if condition="$CZID == $item.id"} selected{/if}>
                  {if condition="$item.cp_name_new eq ''"}
                        {$item.cp_name_old}
                    {elseif condition="$item.cp_name_new"}
                        {$item.cp_name_new}

                  {/if}
           </option>
           {/volist}
           </select>
     <input class="btn btn-success" type="submit" name="submit" value="搜索" onclick="search()" style="margin-top:-4px;"/>
      

      </form>

     <div class="page-container dataTables_wrapper">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                  <th>ID</th>
                  <th>彩种名称</th>
                  <th>期数</th>
                  <th>开奖号码</th>
                  <th>投注金额</th>
                  <th>中奖金额</th>
                  <th>中奖注数</th>
                  <th>注单数量</th>
                
                  
                </tr>
                
              </thead>
               {volist name="listarea" id="items"}

              <tbody>
              
                <tr class="text-c">
                  <td>{$items.id}</td>
                  <td>{$CZNAME}</td>
                  <td>
                   {$items.qihao}
                  </td>
                  <td>
                    <div style='width:350px; margin:auto'>{$items.kjjg}</div>
                  </td>
                   <td>
                    {$BENQISHUJU[0]}
                   </td>
                    <td>
                    {$BENQISHUJU[1]}
                   </td>
                    <td>
                    {$BENQISHUJU[2]}
                   </td>
                    <td>
                    {$BENQISHUJU[3]}
                   </td>
                   
                </tr>
              {/volist}
              </tbody>
            </table>
          </div>
        </div>
      </div>
      
    <div class="dataTables_paginate paging_simple_numbers" style="width:100%;">
            <span style="float:right;margin-left:-2px;">总共{$listarea->lastPage()}页  当前第{$listarea->currentPage()}页 ，共{$listarea->total()}条</span>
            <div style="float:left;">{$listarea->render()}</div>
    </div>
    </div>
{/block}{block name="js"}
 <script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript">
    $(function() {
  $('.skin-minimal input').iCheck({
    checkboxClass : 'icheckbox-blue',
    radioClass : 'iradio-blue',
    increaseArea : '20%'
  });
  $("#tab-system").Huitab({
    index : 0
  });
});
</script>

{/block}
